<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model backend\models\MajorCourse */

$this->title = $model->ZYID;
$this->params['breadcrumbs'][] = ['label' => 'Major Courses', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="major-course-view">

    <div class="panel">
		<div class="panel-heading">
            <?= Html::encode($this->title) ?>
		</div>
        <div class="panel-body">

    <p>
        <?= Html::a('Update', ['update', 'ZYID' => $model->ZYID, 'KCID' => $model->KCID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('删除', ['delete', 'ZYID' => $model->ZYID, 'KCID' => $model->KCID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'ZYID',
            'KCID',
            'PKXQXH',
        ],
    ]) ?>
        </div>
    </div>

</div>
